<template>
	<view class="content">
		<rich-text :nodes="strings"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				strings: ''
			}
		},
		onShow() {
			this.getInfo()
		},
		methods:{
			getInfo(){
				uni.request({
				    url: 'http://api.zhizhuedu.cn/api/v1/explain/info/1',
					method:'GET',
				    success: (res) => {
				        this.strings = res.data.data.content
				    }
				});
			}
		}
	}
</script>

<style>
	.content {
		padding: 30upx 30upx 100upx;
	}
</style>
